package com.briup.jd2407cms.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.jd2407cms.domain.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.briup.jd2407cms.domain.extend.CommentExtend;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
* @author jay
* @description 针对表【cms_comment】的数据库操作Mapper
* @createDate 2024-11-18 14:40:14
* @Entity com.briup.jd2407cms.domain.Comment
*/
public interface CommentMapper extends BaseMapper<Comment> {

    IPage<CommentExtend> page(IPage<CommentExtend> page,
                              @Param("articleId") String articleId,
                              @Param("userId") String userId,
                              @Param("keyword") String keyword,
                              @Param("startTime")LocalDateTime startTime,
                              @Param("endTime") LocalDateTime endTime);
}




